﻿using System;
using System.Data;
using System.Collections.Generic;

using Com.Framework.Data;
using Com.Library.DB;

namespace Com.Library.DB.Menu
{
	internal class RecommendMenuCreate : DBDataReader<DataEntity, DataEntity>
	{
		public RecommendMenuCreate()
			: base(new ConnectionString(), "TSP_RecommendMenu_Create")
		{
		}

		protected override void ParameterInitialize()
		{
			AddParameter("n1CategoryNo", SqlDbType.TinyInt, 1, SqlDataInOut.Input);
			AddParameter("strImageURL", SqlDbType.VarChar, 200, SqlDataInOut.Input);
			AddParameter("strLink", SqlDbType.VarChar, 200, SqlDataInOut.Input);
			AddParameter("n1LinkType", SqlDbType.TinyInt, 1, SqlDataInOut.Input);
			AddParameter("strDescription", SqlDbType.NVarChar, 2000, SqlDataInOut.Input);
			AddParameter("strManagerName", SqlDbType.NVarChar, 100, SqlDataInOut.Input);
		}
	}
}